package com.entity;

import org.apache.ibatis.type.Alias;

@Alias("BaseFile")
public class File extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	private String id;

	/**
	 * 附件名称
	 */
	private String fileName;

	/**
	 * 附件文件名
	 */
	private String fileFile;

	/**
	 * 附件后缀
	 */
	private String fileSuffix;

	/**
	 * 附件大小
	 */
	private Integer fileSize;

	/**
	 * 附件路径
	 */
	private String filePath;

	/**
	 * 附件其他路径
	 */
	private String fileTemp;

	/**
	 * 上传时间
	 */
	private String uploadTime;

	/**
	 * 下载次数
	 */
	private Integer downloadTimes;

	/**
	 * 附件状态（预留）
	 */
	private Integer fileState;


	public File () {
		super();
	}

	

	public File(String id, String fileName, String fileFile, String fileSuffix,
			Integer fileSize, String filePath, String fileTemp,
			String uploadTime, Integer downloadTimes, Integer fileState) {
		super();
		this.id = id;
		this.fileName = fileName;
		this.fileFile = fileFile;
		this.fileSuffix = fileSuffix;
		this.fileSize = fileSize;
		this.filePath = filePath;
		this.fileTemp = fileTemp;
		this.uploadTime = uploadTime;
		this.downloadTimes = downloadTimes;
		this.fileState = fileState;
	}



	public String getId() {
		return id;
	}



	public void setId(String id) {
		this.id = id;
	}



	public String getFileName() {
		return fileName;
	}



	public void setFileName(String fileName) {
		this.fileName = fileName;
	}



	public String getFileFile() {
		return fileFile;
	}



	public void setFileFile(String fileFile) {
		this.fileFile = fileFile;
	}



	public String getFileSuffix() {
		return fileSuffix;
	}



	public void setFileSuffix(String fileSuffix) {
		this.fileSuffix = fileSuffix;
	}



	public Integer getFileSize() {
		return fileSize;
	}



	public void setFileSize(Integer fileSize) {
		this.fileSize = fileSize;
	}



	public String getFilePath() {
		return filePath;
	}



	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}



	public String getFileTemp() {
		return fileTemp;
	}



	public void setFileTemp(String fileTemp) {
		this.fileTemp = fileTemp;
	}



	public String getUploadTime() {
		return uploadTime;
	}



	public void setUploadTime(String uploadTime) {
		this.uploadTime = uploadTime;
	}



	public Integer getDownloadTimes() {
		return downloadTimes;
	}



	public void setDownloadTimes(Integer downloadTimes) {
		this.downloadTimes = downloadTimes;
	}



	public Integer getFileState() {
		return fileState;
	}



	public void setFileState(Integer fileState) {
		this.fileState = fileState;
	}



	@Override
	public String toString() {
		return "File [id=" + id + ", fileName=" + fileName + ", fileFile="
				+ fileFile + ", fileSuffix=" + fileSuffix + ", fileSize="
				+ fileSize + ", filePath=" + filePath + ", fileTemp="
				+ fileTemp + ", uploadTime=" + uploadTime + ", downloadTimes="
				+ downloadTimes + ", fileState=" + fileState + "]";
	}

	
}

